package com.zenithsun.common.util.image;

import java.util.ArrayList;
import java.util.List;

/**
 * 图片尺寸信息
 * @author wanglei@enersun.com.cn
 */
public class ImageSize {

	/**
	 * 获取指定尺寸的配置
	 * @return
	 */
	public static List<ImageSize> GetThumbnailList() {
		List<ImageSize> imageList=new ArrayList<>();
		imageList.add(new ImageSize(200, 167));
		imageList.add(new ImageSize(400, 267));
		imageList.add(new ImageSize(750, 500));
		imageList.add(new ImageSize(1000, 667));
		return imageList;
	}
	
	public ImageSize() {

	}

	public ImageSize(int width, int height) {
		this.width = width;
		this.height = height;
	}

	private int width;
	private int height;

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}
}
